package com.xbao.service;

import com.xbao.model.EmpOrgRel;
import com.xbao.model.Org;
import com.xbao.model.req.OrgReq;
import com.xbao.model.vo.OrgVo;

import java.util.List;

/**
 * Created by qingshengzheng on 18/8/28.
 */
public interface OrgService {
    public void addOrg(OrgReq orgReq);

    public OrgVo detailOrg(Long id);

    public void deleteOrg(Long id);

    public void detailOrgAppend(Long oid);

    public List<OrgVo> queryOrgs(OrgReq req);

    public void modifyOrg(OrgReq orgReq);

    public void joinOrg(EmpOrgRel orgReq);

    public void leaveOrg(EmpOrgRel orgReq);

    public List<OrgVo> myOrgs(OrgReq req);


    public OrgVo baseOrgInfo(Long id);

    public void setMainOrg(EmpOrgRel rel);






}
